import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'effect',
  name: 'effect',
  component: routerPlaceholder,
  redirect: {
    name: "test"
  },
  children: [{
    path: 'buslines',
    name: 'buslines',
    component: () => import('@/views/effect/buslines/index.vue'),
    meta: {
      activeMenu: 'buslines',
      title: '公交线路',
      icon: 'buslines',
      affix: true
    }
  },{
    path: 'water',
    name: 'water',
    component: () => import('@/views/effect/water/index.vue'),
    meta: {
      activeMenu: 'water',
      title: '水面',
      icon: 'water',
      affix: true
    }
  },{
    path: 'weathers',
    name: 'weathers',
    component: () => import('@/views/effect/weathers/index.vue'),
    meta: {
      activeMenu: 'weathers',
      title: '天气',
      icon: 'weathers',
      affix: true
    }
  },{
    path: 'videos',
    name: 'videos',
    component: () => import('@/views/effect/videos/index.vue'),
    meta: {
      activeMenu: 'videos',
      title: '视频',
      icon: 'videos',
      affix: true
    }
  },{
    path: 'test',
    name: 'effectTest',
    component: () => import('@/views/effect/test/index.vue'),
    meta: {
      activeMenu: 'effectTest',
      title: '测试',
      icon: 'effectTest',
      affix: true
    }
  },]
}

export default routers
